# 复制列表
import copy

list1 = [1, 2, 3, 4, 5]
list2 = list1.copy()
list1[2] = 100

print(list1)
print(list2)


list3 = [10, 20, 30, 40, 50]
list4 = list3[::]
list3[2] = 100

print(list3)
print(list4)


list5 = [100, 200, 300, 400, 500]
list6 = copy.copy(list5)
list5[2] = 1000

print(list5)
print(list6)

list7 = [1000, 2000, 3000, 4000, 5000]
list8 = list7
list7[2] = 10000

print(list7)
print(list8)